package cn.com.dcsgo.domain.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serial;
import java.io.Serializable;

import lombok.Data;

/**
 * 客户分析表
 *
 * @author Dcsgo
 * @since 13/5/2025 上午 10:54
 */
@TableName(value = "customer_analysis")
@Data
public class CustomerAnalysis implements Serializable {
    /**
     * 客户id
     */
    @TableId
    private Long custId;

    /**
     * 年度消费总额
     */
    private Double annualTotalConsumption;

    /**
     * 活跃度评分
     */
    private Integer activityLevelScore;

    /**
     * 流失风险指数
     */
    private Integer lossRiskIndex;

    /**
     * 产品偏好标签
     */
    private String productPreferenceLabel;

    @Serial
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}